﻿using Shop.Model.Coupon;
using Shop.Model.DB;
using Shop.RemoteModel.Coupon.Model;
using WeDonekRpc.Model;

namespace Shop.Repository
{
    public interface ICouponRepository : IShopBaseRepository<DBShopCoupon, long>
    {
        long Add (CouponSetArg data);
        Result[] Query<Result> (CouponQueryParam query, IBasicPage paging, out int count) where Result : class;
    }
}